-- GENERATED SPELL FOR [Stonesplinter Skullthumper] --


function spell0_1163(pUnit, Event) --@Gouge,n/a--
pUnit:FullCastSpellOnTarget(1776,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1163', 4000, 1)
end

function Sorts_1163(pUnit, Event)
local choix_sorts_1163 = math.random(0, 0)
if choix_sorts_1163 == 0 then
pUnit:RegisterEvent('spell0_1163', 1, 1)
end
end

function mob1163_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1163', math.random(1500, 3000), 1)
end

function mob1163_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1163_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1163_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1163, 1, 'mob1163_Action')
RegisterUnitEvent(1163, 2, 'mob1163_Leave')
RegisterUnitEvent(1163, 3, 'mob1163_Kill')
RegisterUnitEvent(1163, 4, 'mob1163_Die')
